exports.testDb = function(db) {
    return function(req, res) {
        var collection = db.get('banner');
        collection.find({},{},function(e,docs){
            res.render('banner', {
                "banner" : docs
            });
        });
    };
};